﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TokenAuthority
{
    public class UserBank
    {
        public Dictionary<string, User> users;

        internal static bool ValidateUser(string user, string pass)
        {
            if (user.ToLower().StartsWith("a"))
                return true;
            throw new ValidationException("Authentication failed");
        }
    }
}
